import React, { useRef, useState } from 'react';
import { View, Text, } from "@tarojs/components";
const AudioPlayer = ({ src, audioRef }) => {
    return (
        <View style={{ visibility: 'hidden', position: 'absolute' }}>
            <audio ref={audioRef} src={src} controls />
        </View>
    );
};

export default AudioPlayer;